package com.exahq.service.impl;

import com.exahq.entity.Companydata;
import com.exahq.entity.Companytype;
import com.exahq.mapper.CompanytypeMapper;
import com.exahq.mapper.PartnerinfoMapper;
import com.exahq.service.CompanytypeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lhq
 * @since 2021-02-02
 */
@Service
public class CompanytypeServiceImpl extends ServiceImpl<CompanytypeMapper, Companytype> implements CompanytypeService {
    @Autowired
    private CompanytypeMapper companytypeMapper;
    @Override
    public Integer delete(Integer id) {
        return companytypeMapper.deleteById(id);
    }
}
